home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: peter@nmti.com (peter da silva)
-
- What is the relationship between O_APPEND and aio_reqprio on an asynchronous
- I/O call? The standard specifies on lines 390 and following that "if O_APPEND
- is set... write operations append to the file *in the same order as the calls
- were made*." (emphasis mine). On lines 396 and following, it says that I/O is
- queued in priority order, and "the aio_reqprio member can be used to lower
- (but not raise) the asynchronous I/O operation priority.
-
- Suppose you have a file open for O_APPEND. You issue a write with aio_reqprio
- having a positive value, then issue a write with aio_reqprio set to zero.
-
- Lines 396 and following imply the second I/O may occur before the first,
- despite O_APPEND being set.
-
- --
- Peter da Silva `-_-'
- Network Management Technology Incorporated 'U`
- 12808 West Airport Blvd. Sugar Land, TX 77478 USA
- +1 713 274 5180 "Na sema Jambo mbwa kali yake leo?"
-
-
- Volume-Number: Volume 31, Number 62
-
-